package com.foo.Entity;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name ="user_info")
public class UserInfoData implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 625272463006449296L;
	@Id
	private String email;
	private String name;
	private String password;
	private Date last_login;
	private Boolean is_admin;
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {
		return email;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}
	public void setLast_login(Date last_login) {
		this.last_login = last_login;
	}
	public Date getLast_login() {
		return last_login;
	}
	public void setIs_admin(Boolean is_admin) {
		this.is_admin = is_admin;
	}
	public Boolean getIs_admin() {
		return is_admin;
	}

}
